package og.example.controller;
import og.example.entity.Student;
import og.example.service.StudentService;
import java.util.List;

public class StudentController {
    private StudentService studentService = new StudentService();

    public boolean studentAdd(Long studentId, String studentName, String groupName) {
        return studentService.studentAdd(studentId, studentName, groupName);
    }

    public boolean studentDelete(Long studentId) {
        return studentService.studentDelete(studentId);
    }

    public List<Student> studentQuery() {
        return studentService.studentQuery();
    }
}
